package com.jsh.erp.feign;

import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;
import java.math.BigDecimal;

@FeignClient(name = "jsh-system",path = "/jshERP-boot/remote/api/supplier",contextId = "SupplierRemoteClient")
public interface SupplierRemoteClient {
    @GetMapping("/updateAdvanceIn")
     int updateAdvanceIn(@RequestParam("supplierId") Long supplierId, @RequestParam("advanceIn")BigDecimal advanceIn)throws Exception;
}
